FROM openjdk:8-jre-slim-buster
VOLUME /tmp

ADD gen/target/*.jar gen.jar
ADD dist/gen/view view

EXPOSE 6969

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/gen.jar","--spring.config.additional-location=/config/application.properties"]